package com.chuangmei.com.arindoorlocationsystem.ar.adapter;

import com.chuangmei.com.arindoorlocationsystem.R;
import com.chuangmei.com.arindoorlocationsystem.ar.bean.VideoInfo;
import com.chuangmei.com.arindoorlocationsystem.base.adapter.BaseRecyclerViewAdapter;
import com.chuangmei.com.arindoorlocationsystem.base.adapter.BaseRecyclerViewHolder;

import java.util.List;

/**
 * 项目名称：ARIndoorLocationSystem
 * 类描述：
 * 创建人：LuoHao
 * 创建时间：2018/4/27 13:58
 * 修改人：LuoHao
 * 修改时间：2018/4/27 13:58
 * 修改备注：
 */

public class VideoListAdapter extends BaseRecyclerViewAdapter<VideoInfo> {

    public VideoListAdapter(int layoutId, List<VideoInfo> list) {
        super(layoutId, list);
    }

    @Override
    protected void notifyData(List<VideoInfo> list) {
        super.notifyData(list);
    }

    @Override
    protected void convert(BaseRecyclerViewHolder holder, VideoInfo itemMessage) {
                super.convert(holder, itemMessage);
        holder.setText(R.id.mTV_video_name, itemMessage.getVideo_name());
        holder.setText(R.id.mTV_video_size, itemMessage.getVideo_size());
//        holder.setText(R.id.mTV_video_time, itemMessage.getVideo_time());
    }
}
